<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:39:"./template/layres/html/index_index.html";i:1577542310;s:53:"D:\GitCode\LayZy\template\layres\html\index_base.html";i:1576677271;s:55:"D:\GitCode\LayZy\template\layres\html\index_header.html";i:1576486957;s:51:"D:\GitCode\LayZy\template\layres\html\index_gg.html";i:1577959951;s:52:"D:\GitCode\LayZy\template\layres\html\index_gg6.html";i:1577721650;s:55:"D:\GitCode\LayZy\template\layres\html\index_footer.html";i:1577955242;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meat name="robots" content="index,nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
<title><?php echo $site_config['site_title']; ?> - <?php echo $site_config['seo_title']; ?></title>
<meta name="keywords" content="<?php echo $site_config['seo_keyword']; ?>">
<meta name="description" content="<?php echo $site_config['seo_description']; ?>">
<link rel="stylesheet" href="/template/layres/css/index.css">

  <link rel="shortcut icon" href="/public/images/favicon.ico">
  <link rel="stylesheet" href="/public/plugins/layui/css/layui.css">
  <link rel="stylesheet" href="/public/css/font.css">
  <link rel="stylesheet" href="/template/layres/css/public.css">
  <script src="/public/js/jquery-3.3.1.min.js"></script>
  
</head>
<body>
  <header>
  <div class="header-important">
    <div class="container layui-clear">
      <a href="/" class="logo">
        <img src="/template/layres/images/logo.png"/>
      </a>
      <img src="/template/layres/images/yxcz.png" class="logo-right-decation"/>
      <form action="/search"  class="search">
        <input type="text" placeholder="快来搜一搜吧！" value="<?php echo $keyword; ?>" name="keyword"/>
        <input type="submit" class="layui-icon" value="&#xe615;"/>
      </form>
    </div>
  </div>
  <nav class="web-nav">
    <div class="container layui-clear">
      <ul class="nav-ul">
        <li <?php if($URI == ''||$URI == '/'): ?>class="hover"<?php endif; ?>>
          <a href="/" target="_self">网站首页</a>
        </li>
        <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <li <?php if($URI == $vo['link']): ?>class="hover"<?php endif; ?>>
          <a href="<?php echo $vo['link']; ?>" target="<?php echo $vo['target']; ?>"><?php echo $vo['name']; ?></a>
        </li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
        <span class="border-bottom" hidden></span>
      </ul>
      <div class="header-user">
        <?php if(\think\Session::get('userid') != ''): ?>
        <img class="ico" src="<?php echo \think\Session::get('avatar'); ?>" onerror="this.src='/template/layres/images/a3o.png'"/>
        <div class="show-data">
          <div class="show logined">
            <i></i>
            <span class="logined_text">欢迎回来，<?php echo \think\Session::get('nickname'); ?></span>
            <span class="logined_text share">
							<b class="hot"></b>
							您已投稿分享过<font><?php echo \think\Session::get('posted_num'); ?></font>次 ，
							共有<font><?php echo \think\Session::get('praise_num'); ?></font>位老铁为你点赞
						</span>
            <div class="logined_btn layui-clear">
              <a href="/user/index.html">个人中心</a>
              <a href="javaScript:exit();">退出</a>
            </div>
          </div>
        </div>
      </div>
      <?php else: ?>
      <img class="ico" src="/template/layres/images/a3o.png"/>
      <div class="show-data">
        <div class="show">
          <i></i>
          <span>登录后，享受更多优质服务哦</span>
          <button onclick="openLoginK();">登录</button>
        </div>
      </div>
      <?php endif; ?>

    </div>
  </nav>
</header>
  <div style="background:url("<?php echo (isset($site_config['background_img']) && ($site_config['background_img'] !== '')?$site_config['background_img']:''); ?>") no-repeat center center;">
  
<article class="content-true">
    <section class="container layui-clear">
        <div class="index-container layui-clear">
            <?php if(in_array(1, $homnePageShowArr)): ?>
            <div class="hot-top layui-clear">
                <i class="tg-ph"></i>
                <div class="left">
                    <a class="hover">近期投稿</a>
                    <a>本月冠军</a>
                </div>
                <div class="right">
                    <div class="right-overflow">
                        <div class="right-main">
                            <ul class="layui-clear top-ul">
                                <?php if(is_array($newPostTop) || $newPostTop instanceof \think\Collection || $newPostTop instanceof \think\Paginator): $i = 0; $__LIST__ = $newPostTop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <li><a href="/person/<?php echo $vo['uuid']; ?>.html" title="最新投稿通过时间：<?php echo $vo['publish_time']; ?>">
                                    <div class="list-img"><img src="<?php echo $vo['avatar']; ?>"  onerror="this.src='/public/images/userhead/default.png';"/></div>
                                    <h3><?php echo $vo['nickname']; ?></h3></a>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
                        <div class="right-main">
                            <ul class="layui-clear top-ul">
                                <?php if(is_array($monthPostTop) || $monthPostTop instanceof \think\Collection || $monthPostTop instanceof \think\Paginator): $i = 0; $__LIST__ = $monthPostTop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <li><a href="/person/<?php echo $vo['uuid']; ?>.html" title="本月投稿共通过：<?php echo $vo['count']; ?>篇">
                                    <div class="list-img"><img src="<?php echo $vo['avatar']; ?>"  onerror="this.src='/public/images/userhead/default.png';"/></div>
                                    <h3><?php echo $vo['nickname']; ?></h3></a>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; if($ad['open']): ?>
<div style="background: #fff;padding:5px;">
    <div class="layui-clear layui-row layui-col-space5">
        <?php if(is_array($ad['list']) || $ad['list'] instanceof \think\Collection || $ad['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $ad['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <div class="layui-col-md<?php echo round(12/$ad['config']['columns'])?>">
            <a href="<?php echo $vo['link']; ?>" target="_blank"><img src="<?php echo $vo['banner_path']; ?>" style="height:<?php echo $ad['config']['rows']<75?75:$ad['config']['rows']; ?>px;width: 100%"/></a>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<?php endif; if($ad6['open']): ?>
<div style="background: #fff;padding:5px;margin-bottom: 10px">
    <div class="layui-clear layui-row layui-col-space5">
        <?php if(is_array($ad6['list']) || $ad6['list'] instanceof \think\Collection || $ad6['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $ad6['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <div class="layui-col-md<?php echo round(12/$ad6['config']['columns'])?>">
            <a href="<?php echo $vo['link']; ?>" target="_blank"><img src="<?php echo $vo['banner_path']; ?>" style="height:<?php echo $ad6['config']['rows']<75?75:$ad6['config']['rows']; ?>px;width: 100%"/></a>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<?php endif; ?>

            <div class="new-position">
                <div class="left">
                    <div class="layui-carousel" id="index-lb">
                        <div carousel-item="">
                            <?php if(is_array($carousel) || $carousel instanceof \think\Collection || $carousel instanceof \think\Paginator): $i = 0; $__LIST__ = $carousel;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <div><a href="/html/<?php echo $vo['id']; ?>.html"><img src="<?php echo $vo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"></a></div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                    <div class="index-login">
                        <div class="title">
                            我的信息
                        </div>
                        <div class="info layui-clear">
                            <!-- 登录前 -->
                            <div class="lg_no">
                                <a href="/user/index.html">
                                    <img src="/template/layres/images/a3o.png" class="user-img" />
                                </a>
                                <div class="u-info">
                                    <h3>您还没有登录哦~</h3>
                                    <a onclick="openLoginK();">立即登录</a>
                                </div>
                            </div>

                            <!-- 登录后 -->
                            <div class="lg_tr">
                                <a href="/user/index.html">
                                    <img src="/public//images/userhead/default.png" onerror="this.src='/template/layres/images/a3o.png'" class="user-img"/>
                                </a>
                                <div class="u-info">
                                    <h3 class="u_nick">--</h3>
                                    <a href="/user/tg.html">我要投稿</a>
                                </div>
                            </div>

                        </div>
                        <div class="intr">
                            <h3>投稿拿奖励</h3>
                            <span>支持在线投稿<br/>优质教程一律送现金</span>
                        </div>
                    </div>
                </div>
                <div class="right">
                    <div class="title">最近更新<a href="/list/all.html" class="iconfont"><i class="layui-icon layui-icon-right"></i></a></div>
                    <div class="r-content">
                        <ul class="layui-clear">
                            <?php if(is_array($newArticles) || $newArticles instanceof \think\Collection || $newArticles instanceof \think\Paginator): $i = 0; $__LIST__ = $newArticles;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li>
                                <a href="<?php echo($vo['out_link']?:'/html/'.$vo['id'].'.html'); ?>" target="_blank" title="<?php echo $vo['title']; ?>"><?php if($vo['is_ad']): ?><i class="ad">广告</i><?php elseif($vo['is_essence']): ?><i class="jx"></i><?php else: endif; ?><span style="color:<?php echo $vo['color']; ?>"><?php echo $vo['title']; ?></span></a>
                                <font <?php if($vo['is_ad'] || date('m-d',strtotime($vo['publish_time']))==date('m-d')) echo('class="new-time"'); ?>><?php if($vo['is_ad']): ?><?php echo date('m-d'); else: ?><?php echo date('m-d',strtotime($vo['publish_time'])); endif; ?></font>
                            </li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                        <div class="list-loading">
                            <div class="loadding2">
                                <div class="circ1"></div>
                                <div class="circ2"></div>
                                <div class="circ3"></div>
                                <div class="circ4"></div>
                            </div>
                        </div>
                    </div>
                    <div class="page layui-clear" data-nowpage="1">
                        <div class="top disabled">上一页</div>
                        <b class="cfx"></b>
                        <div class="bottom">下一页</div>
                    </div>
                </div>
            </div>
            <?php if($ad2['open']): ?>
            <ul class="three layui-clear">
                <?php if(is_array($ad2['list']) || $ad2['list'] instanceof \think\Collection || $ad2['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $ad2['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li>
                    <img src="<?php echo $vo['banner_path']; ?>"/>
                    <div>
                        <h3><?php echo $vo['title']; ?></h3>
                        <span><?php echo $vo['description']; ?></span>
                    </div>
                    <a target="_blank" href="<?php echo $vo['link']; ?>" class="go">去看看</a>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
            <?php endif; ?>
            <div class="scoend">
                <div class="left">
                    <div class="title">
                        人气榜单
                        <div class="types">
                            <a class="hover">本月冠军</a>
                            <a>总榜之巅</a>
                        </div>
                    </div>
                    <div class="showtopw">
                        <div class="showtop layui-clear">
                            <ul class="xuhaoul">
                                <?php if(is_array($monthRank) || $monthRank instanceof \think\Collection || $monthRank instanceof \think\Paginator): $i = 0; $__LIST__ = $monthRank;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <li><a href="/html/<?php echo $vo['id']; ?>.html"> <i><?php echo $key+1; ?></i> <?php echo $vo['title']; ?> </a></li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                            <ul class="xuhaoul">
                                <?php if(is_array($totalRank) || $totalRank instanceof \think\Collection || $totalRank instanceof \think\Paginator): $i = 0; $__LIST__ = $totalRank;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <li><a href="/html/<?php echo $vo['id']; ?>.html"> <i><?php echo $key+1; ?></i> <?php echo $vo['title']; ?> </a></li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="right">
                    <!-- 随机抽取近10天内的4个资源 -->
                    <div class="title">
                        随机推荐
                        <a href="/list/2.html" class="iconfont icon-gengduo"></a>
                    </div>
                    <ul class="twdd">
                        <?php if(is_array($recommend) || $recommend instanceof \think\Collection || $recommend instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($recommend) ? array_slice($recommend,0,4, true) : $recommend->slice(0,4, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a href="/html/<?php echo $vo['id']; ?>.html" class="layui-clear">
                                <div class="list-img">
                                    <img src="<?php echo $vo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"/>
                                </div>
                                <div class="info">
                                    <h3><?php echo $vo['title']; ?></h3>
                                    <font class=""><?php echo $vo['publish_time']; ?></font>
                                </div>
                            </a>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>
            <div class="top-list">
                <div class="title">
                    板块更新
                    <div class="type">
                        <a class="hover"><?php echo implode(" / ",array_column($categoryTeam1,'alias_name')); ?></a>
                        <a><?php echo implode(" / ",array_column($categoryTeam2,'alias_name')); ?></a>
                    </div>
                </div>
                <div class="tpl-tr-wai">
                    <div class="tpl-tr layui-clear">
                        <div class="list-top">
                            <?php if(is_array($categoryTeam1) || $categoryTeam1 instanceof \think\Collection || $categoryTeam1 instanceof \think\Paginator): $i = 0; $__LIST__ = $categoryTeam1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <ul>
                                <?php if(is_array($vo['artlists']) || $vo['artlists'] instanceof \think\Collection || $vo['artlists'] instanceof \think\Paginator): $k = 0; $__LIST__ = $vo['artlists'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voo): $mod = ($k % 2 );++$k;?>
                                <li>
                                    <a href="/html/<?php echo $voo['id']; ?>.html" class="layui-clear">
                                        <?php if($k == 1): ?>
                                        <div class="list-img"><img src="<?php echo $voo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"/></div>
                                        <?php else: ?>
                                        <font>[ <?php echo $vo['name']; ?> ]</font>
                                        <?php endif; ?>
                                        <span><?php echo $voo['title']; ?></span>
                                    </a>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="list-top">
                            <?php if(is_array($categoryTeam2) || $categoryTeam2 instanceof \think\Collection || $categoryTeam2 instanceof \think\Paginator): $i = 0; $__LIST__ = $categoryTeam2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <ul>
                                <?php if(is_array($vo['artlists']) || $vo['artlists'] instanceof \think\Collection || $vo['artlists'] instanceof \think\Paginator): $k = 0; $__LIST__ = $vo['artlists'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voo): $mod = ($k % 2 );++$k;?>
                                <li>
                                    <a href="/html/<?php echo $voo['id']; ?>.html" class="layui-clear">
                                        <?php if($k == 1): ?>
                                        <div class="list-img"><img src="<?php echo $voo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"/></div>
                                        <?php else: ?>
                                        <font>[ <?php echo $vo['name']; ?> ]</font>
                                        <?php endif; ?>
                                        <span><?php echo $voo['title']; ?></span>
                                    </a>
                                </li>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
            </div>

            <div class="other layui-clear" <?php if(!in_array(2, $homnePageShowArr)): ?> style="display: none" <?php endif; ?>>
                <div class="left">
                    <div class="title">实时投稿</div>
                    <ul class="tg-new-list layui-clear">
                        <div class="loadding"><span></span> <span></span> <span></span> <span></span> <span></span></div>
                    </ul>
                </div>
                <div class="right">
                    <div class="title">用户兴趣谱图</div>
                    <div class="xq"
                         data-bl='[{"type":"\u7f51\u7edc\u8f6f\u4ef6","bl":0.3,"url":"\/list\/4.html"},{"type":"\u6d3b\u52a8\u7ebf\u62a5","bl":0.2,"url":"\/list\/5.html"},{"type":"\u5176\u4ed6\u8d44\u6e90","bl":0.1,"url":"\/list\/6.html"},{"type":"\u5b9e\u7528\u6559\u7a0b","bl":0.1,"url":"\/list\/3.html"},{"type":"\u7f51\u7ad9\u6e90\u7801","bl":0.1,"url":"\/list\/2.html"},{"type":"\u6e38\u620f\u8d44\u8baf","bl":0,"url":"\/list\/1.html"}]'></div>
                </div>
            </div>
        </div>
    </section>
</article>


<!--友情链接区域-->
<div class="friends-link">
    <h3 class="container">友情链接：<a target="_blank" href="/about/friendlink.html" style="float: right; font-size: 13px; color: #bebebe;">申请友链</a></h3>
    <ul class="layui-clear container">
        <li><a href="https://www.laysns.com" target="_blank">Laysns</a></li>
        <?php if(is_array($friendlinks) || $friendlinks instanceof \think\Collection || $friendlinks instanceof \think\Paginator): $i = 0; $__LIST__ = $friendlinks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <li><a href="<?php echo $vo['link']; ?>" target="_blank"><?php echo $vo['title']; ?></a></li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>
<!--友情链接结束-->


  </div>
  <!--底部区域-->
<footer>
    <div class="layui-clear container">
        <div class="left">
            <img src="/template/layres/images/logo.png" width="200" height="72"/>
            <p>
                本站提供最新游戏辅助,电影抢先看,QQ软件等。努力打造为全国网络爱好者提供优质服务的平台，让我们的生活更加精彩！
                商务合作请联系站长<a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $site_config['webmaster_qq']; ?>&site=qq&menu=yes" target="_blank" style="text-indent:0;color: #ffffff; border: 1px solid #20c4ab; display: inline-block; padding: 0px 19px; margin-left: 20px; font-size: 14px;  border-radius: 21px;">QQ <?php echo $site_config['webmaster_qq']; ?></a>
            </p>
            <ul class="layui-clear">
                <li><a href="/about/">关于我们</a></li>
                <li><a href="/about/ad.html">广告合作</a></li>
                <li><a href="/user/tg.html">在线投稿</a></li>
                <li><a href="/about/send.html">酷站收录</a></li>
                <li><a href="/about/idea.html">意见反馈</a></li>
                <li><?php echo $site_config['site_tongji']; ?></li>
                <li><a href="http://www.miitbeian.gov.cn/" target="_blank"> <?php echo $site_config['site_icp']; ?></a></li>
            </ul>
        </div>
        <div class="right">
            <img title="扫码访问手机版" alt="扫码访问手机版" src="/template/layres/images/web-code.png"/>
        </div>
    </div>
</footer>
<!--底部结束-->

<div id="loginBox">
    <div id="login" class="layui-clear"><a href="javaScript:void(0)" class="iconfont closeLogin"><i class="layui-icon layui-icon-close"></i></a>
        <div class="left"><img src="/template/layres/images/a8e.png"> <span>Welcome</span></div>
        <div class="right" id="loginmain"><h3 class="tilg">登录您的账号</h3>
            <form class="center layui-form">
                <div class="input"><i class="iconfont icon-zhanghao"></i>
                    <input type="text" placeholder="手机/邮箱/用户名" lay-verify="username"  name="username"/></div>
                <div class="input"><i class="iconfont icon-mima"></i>
                    <input type="password" placeholder="请输入您的密码"  lay-verify="password" name="password"/></div>
                <div class="input code" style="display: none"> <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="验证码" name="verify_code"  maxlength="4" />
                    <img src="<?php echo url('index/page/captcha'); ?>?'+Math.random();" title="点击可刷新验证码"
                         onclick="this.src='<?php echo url('index/page/captcha'); ?>?'+Math.random();" id="img_code"
                         style="margin-top:20px;width:144px;height:45px;cursor:pointer" /></div>
                <div class="loo layui-clear">
                    <?php if($site_config['qqlogin_status'] == 1): ?> <div class="ks"><a href="/user/qqlogin.html"><img src="/template/layres/images/qq.png"/></a></div><?php endif; ?>
                    <div class="zc"><a href="javaScript:void(0);" class="zczh">注册账号</a>
                        <a href="/user/forgetpass.html" target="_blank">找回密码</a></div>
                </div>
                <button lay-submit lay-filter="login">立即登录</button>
            </form>
        </div>
        <div class="right" id="regmain" style="display:none;"><h3 class="tilg">注册新的账号</h3>
            <form class="center  layui-form">
                <div class="input"><i class="iconfont icon-zhanghao"></i>
                    <input type="text" id="username" placeholder="请输入您的手机或邮箱" lay-verify="username" autocomplete="off" name="username"/>
                </div>
                <div class="input code"> <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="图形码" lay-verify="verify_code" id="captcha" name="captcha" maxlength="4" autocomplete="off" required class="layui-required" />
                    <img id="captchaPic" src="<?php echo url('index/page/captcha'); ?>?'+Math.random();" title="点击可刷新验证码" onclick="this.src='<?php echo url('index/page/captcha'); ?>?_='+Math.random()" class="imgcode" />
                </div>
                <div class="input code">
                    <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="验证码" lay-verify="verify_smscode" name="smscode" maxlength="6" autocomplete="off" required class="layui-required" />
                    <div   style="position: absolute; height: 42px; right: 0; top: 0; width: 110px;margin-top: 8px;">
                    <button type="button" class="layui-btn layui-btn-normal" id="sendRegCode">发送验证码
                        </button>
                    </div>
                </div>
                <div class="input"><i class="iconfont icon-mima"></i>
                    <input type="password" placeholder="请输入您的密码" lay-verify="password" autocomplete="off" name="password"/></div>

                <div class="loo layui-clear">
                    <?php if($site_config['qqlogin_status'] == 1): ?><div class="ks"><a href="/user/qqlogin.html"><img src="/template/layres/images/qq.png"/></a></div><?php endif; ?>
                    <div class="zc"><a href="javaScript:void(0);"  id="yjyl" class="yjyl">我已经有账号了？</a></div>
                </div>
                <button  lay-submit lay-filter="register">立即注册</button>
            </form>
        </div>
    </div>
</div>
  <a class="backtop iconfont icon-xiangshang"></a>
  <script src="/public/plugins/layui/layui.js"></script>
  <script src="/template/layres/js/public.js"></script>
  
<script src="/template/layres/js/index.js"></script>
<!-- 首页更新列表模板 -->
<script id="index-list" type="text/html">
    {{#  layui.each(d.list, function(index, item){ }}
    <li>
        <a href="/html/{{item.id}}.html" target="_blank" title="{{item.title}}">
            {{# if(item.is_ad==1){}}
            <i class="ad"></i>
            {{#}}}
            {{# if(item.is_essence==1){}}
            <i class="jx"></i>
            {{#}}}
            {{item.title}}
        </a>
        <font class=" {{# if(formt_md(item.publish_time)==getNowFormatDate()){}}new-time{{#}}}">{{formt_md(item.publish_time)}}</font>
    </li>
    {{#  }); }}
</script>
<!-- 实时投稿互动模板 -->
<script id="tg-hd" type="text/html">
    {{#  layui.each(d, function(index, item){ }}
    <li>
        <a href="/person/{{item.uuid}}.html" class="user-img"> <img src="{{item.avatar}}"  onerror="this.src='/public/images/userhead/default.png';"/> </a>
        <div>
            <a href="/person/{{item.uuid}}.html"><h3>{{item.nickname}}</h3></a>
            <span>
						 {{#if(item.status==0){}}
                        <b class="wait">
                        等待审核
                             </b>
                    {{#}else if(item.status==1){}}
                        <b class="success">
                        审核通过
                             </b>
                    {{#}else{}}
                        <b class="bad">
                        审核失败
                             </b>
                    {{#}}}
							在{{item.created_at}}投稿了：{{item.title}}
						</span>
        </div>
    </li>
    {{#  }); }}
</script>

  
</body>
</html>